﻿namespace RpcClient
{
        public class EventPublic
        {
                private string _EventName;
                public EventPublic(string name)
                {
                        _EventName = name;
                }
                public EventPublic()
                {
                        _EventName = this.GetType().Name;
                }
                public void Public()
                {
                        RpcClient.LocalEvent.Public(this, _EventName);
                }
                public void AsyncPublic()
                {
                        RpcClient.LocalEvent.AsyncPublic(this, _EventName);
                }
        }
}
